package cn.kevinproject.dingtalk_robot.config;

import cn.kevinproject.dingtalk_robot.robot.Robot;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author kevin lau (双鹰)
 */
@Component
@ConfigurationProperties(prefix = "robot")
@Data
public class RobotProperties {

    private Map<String, Robot> robots;
}
